package com.ln.property_control;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Bean;
import tk.mybatis.spring.annotation.MapperScan;


@SpringBootApplication
@MapperScan("com.ln.property_control.mapper")
@ComponentScan(basePackages = {"com.ln"})
@EnableScheduling
@ServletComponentScan
public class PropertyControlApplication {

    public static void main(String[] args) {
        SpringApplication.run(PropertyControlApplication.class, args);
    }

}
